package main.flex.value.calendar
{
	import org.servebox.airfoundry.control.AbstractAirApplication;
	
	[RemoteClass(alias="value.calendar.CalendarHeaderEventVO")]
	public class CalendarHeaderEventVO extends CalendarBaseEventVO
	{
		public function CalendarHeaderEventVO	(
													 pId 			: int 		= -1,
													 pComment		: String 	= null,
													 pStartDate		: Date 		= null,
													 pEndDate		: Date		= null,
													 pIsAppointment	: Boolean 	= false
													)
		{
			super();
			
			if ( pId != -1 )
				super.id 		= pId;
			
			if ( pComment )
				super.comment 	= pComment;
				
			if ( pStartDate )
				super.startDate = pStartDate;
				
			if ( pEndDate )
				super.endDate 	= pEndDate;
				
			if ( pIsAppointment )
				super.isAppointment = pIsAppointment;
			
			super.type = "header";
		}
	}
}